package sv.gob.mh.dgii.model;

// Generated Oct 12, 2010 8:32:21 AM by Hibernate Tools 3.2.0.beta7

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.UniqueConstraint;

/**
 * RcTiquete generated by hbm2java
 */
@Entity
@Table(name = "RC_TIQUETE", schema = "RUC" )
@SequenceGenerator(name="SEQ_RC_TIQUETE" , sequenceName="SEQ_RC_TIQUETE")		
public class RcTiquete implements java.io.Serializable {

	// Fields    

	/**
	 * 
	 */
	private static final long serialVersionUID = 6539599824047162784L;

	private Long itiquete;

	private String mtipoTramite;

	private String unidadReceptora;

	private Long nserieInicial;

	private Long nserieFinal;

	private Date fhingreso;

	private String cusuario;
	
	private String bancoColecturia;

	// Constructors


	/** default constructor */
	public RcTiquete() {
	}



	// Property accessors
	@Id
	@Column(name = "I_TIQUETE", unique = true, nullable = false, insertable = true, updatable = true, precision = 10, scale = 0)
	@GeneratedValue(strategy=GenerationType.AUTO, generator="SEQ_RC_TIQUETE")
	public Long getItiquete() {
		return this.itiquete;
	}

	public void setItiquete(Long itiquete) {
		this.itiquete = itiquete;
	}

    @Column (name="C_BANCO_COLECTURIA", nullable=false, unique=false, insertable=true, updatable=true, length=5 )
	public String getBancoColecturia() {
		return bancoColecturia;
	}

	public void setBancoColecturia(String bancoColecturia) {
		this.bancoColecturia = bancoColecturia;
	}
    @Column (name="C_USUARIO", unique=false, nullable=false, insertable=true, updatable=true, length=30)
	public String getCusuario() {
		return cusuario;
	}
	public void setCusuario(String cusuario) {
		this.cusuario = cusuario;
	}

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name="FH_INGRESO", unique=false, nullable=false, insertable=true, updatable=true)
	public Date getFhingreso() {
		return fhingreso;
	}
	public void setFhingreso(Date fhingreso) {
		this.fhingreso = fhingreso;
	}
    @Column(name="M_TIPO_TRAMITE", unique=false, nullable=false, insertable=true, updatable=true, length=4)
	public String getMtipoTramite() {
		return mtipoTramite;
	}
	public void setMtipoTramite(String mtipoTramite) {
		this.mtipoTramite = mtipoTramite;
	}
    @Column (name="N_SERIE_FINAL", unique=false, nullable=false, insertable=true, updatable=true, precision=10, scale=0)
	public Long getNserieFinal() {
		return nserieFinal;
	}
	public void setNserieFinal(Long nserieFinal) {
		this.nserieFinal = nserieFinal;
	}
    @Column (name="N_SERIE_INICIAL", unique=false, nullable=false, insertable=true, updatable=true, precision=10, scale=0)
	public Long getNserieInicial() {
		return nserieInicial;
	}
	public void setNserieInicial(Long nserieInicial) {
		this.nserieInicial = nserieInicial;
	}
    @Column(name="C_UNIDAD_RECEPTORA", unique=false, nullable=false, insertable=true, updatable=true, length=5)
	public String getUnidadReceptora() {
		return unidadReceptora;
	}
	public void setUnidadReceptora(String unidadReceptora) {
		this.unidadReceptora = unidadReceptora;
	}

	

}
